package org.jeecg.modules.zcgl.vo.statistical;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 尹涛 * @version V1.0.0
 * @projectName kangxiang-parent
 * @title PaymentRecordsVo
 * @package org.jeecg.modules.zcgl.vo.statistical
 * @description 缴费记录统计
 * @date 2021-06-01
 */
@Data
public class PaymentRecordsVo {

    @Excel(name = "资产名称", width = 15, dictTable = "zcgl_customer_info", dicText = "name", dicCode = "id", pullDown = false)
    @Dict(dictTable = "zcgl_customer_info", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "客户名称")
    private String customerId;

    @Excel(name = "联系电话", width = 15)
    @ApiModelProperty(value = "联系电话")
    private String phone;

    @Excel(name = "身份证号/信用代码", width = 15)
    @ApiModelProperty(value = "身份证号/信用代码")
    private String code;

    @Excel(name = "账单编码", width = 15)
    @ApiModelProperty(value = "付款单号")
    private String paymentSlipNumber;

    @Excel(name = "合同编号", width = 15)
    @ApiModelProperty(value = "合同编号")
    private String contractNum;

    @Excel(name = "资产名称", width = 15, dictTable = "zcgl_asset_info", dicText = "asset_name", dicCode = "id", pullDown = false)
    @Dict(dictTable = "zcgl_asset_info", dicText = "asset_name", dicCode = "id")
    @ApiModelProperty(value = "资产名称")
    private String assetId;

    @Excel(name = "应缴费用", width = 15)
    @ApiModelProperty(value = "应缴费用")
    private BigDecimal amountMoney;

    @Excel(name = "已缴费用", width = 15)
    @ApiModelProperty(value = "已缴费用")
    private BigDecimal paidAmountMoney;

    @Excel(name = "支付方式", width = 15, dicCode = "pay_type")
    @Dict(dicCode = "pay_type")
    @ApiModelProperty(value = "支付方式")
    private Integer payType;

    @Excel(name = "收款日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "收款日期")
    private Date receiptDate;

    @Excel(name = "未缴费用", width = 15)
    @ApiModelProperty(value = "未缴费用")
    private BigDecimal unAmountMoney;

    @Excel(name = "缴费状态", width = 15, dicCode = "pay_status")
    @Dict(dicCode = "pay_status")
    @ApiModelProperty(value = "缴费状态")
    private Integer payStatus;

    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "所属公司")
    private String companyId;



    //查询参数
    private String selections;
}
